<template>
  <div class="btn" @click="emit('gotoOrder')">
    <span>{{ title }}</span>
  </div>
</template>
<script setup lang="ts">
let { title } = defineProps(["title"]);
const emit = defineEmits(["gotoOrder"]);
</script>
<style scoped lang="scss">
.btn {
  position: absolute;
  width: 212px;
  height: 54px;
  top: 100px;
  background: #ffffff;
  border-radius: 27px;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  span {
    width: 72px;
    height: 18px;
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 18px;
    // color: #000000;
    line-height: 18px;
    text-align: center;
    font-style: normal;
  }
  &:hover {
    background: #7fa0d0;
    color: #ffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 5px #0003;
  }
}
</style>
